package com.lqwu.myoj.judge.strategy;


import com.lqwu.myoj.model.entity.JudgeCase;
import com.lqwu.myoj.model.entity.JudgeInfo;
import com.lqwu.myoj.model.entity.Question;
import com.lqwu.myoj.model.entity.QuestionSubmit;
import lombok.Data;

import java.util.List;

/**
 * 上下文（用于定义在策略中传递的参数）
 */
@Data
public class JudgeContext {
    /**
     * 判题信息
     */
    private JudgeInfo judgeInfo;

    /**
     * 输入列表
     */
    private List<String> inputList;

    /**
     * 输出列表
     */
    private List<String> outputList;

    /**
     * 判题用例列表
     */
    private List<JudgeCase> judgeCaseList;

    /**
     * 题目
     */
    private Question question;

    /**
     * 提交信息
     */
    private QuestionSubmit questionSubmit;
}
